//单例实例

class Cache<T>{

    name:T 
    constructor(name:T){

     this.name=name

    }

    getName(name:T){

     console.log(this.name);
        
    }
    
}
let p=new Cache<string>('123M')

export {}

